package com.acxy.ants.core.annotation;

import com.acxy.ants.common.enums.CacheType;
import com.acxy.ants.core.plugin.ehcache.Condition;

import java.lang.annotation.*;

/**
 * @author MrShun
 * @version 1.0
 * @Date 2017-05-03
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Clear {

    String value() default ""; //默认缓存分组

    CacheType type() default CacheType.EHCACHE;

    Class condition() default Condition.class;
}
